package com.yun.image.yunimagebackend.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "版本信息")
@RestController
public class VersionController {
    @GetMapping("/version")
    public String getVersion() {
        return "1.0.0";
    }

    /**
     * 健康检测
     */
    @GetMapping("/health")
    public String health() {
        return "ok";
    }
}
